import { Dayjs } from 'dayjs';

export enum RoomStatus {
  AVAILABLE = "available",
  OCCUPIED = "occupied",
  MAINTENANCE = "maintenance"
}

export interface Room {
  id: string;
  status: RoomStatus;
  roomNumber: string;
  floorId: number;
}

export interface Floor {
  id: number;
  floorNumber: number;
  name: string;
}

export interface ReservationFormData {
  roomId: string;
  startTime: string;
  endTime: string;
  purpose: string;
  duration?: number;
}

export interface UserInfo {
  name: string;
  studentId: string;
  gender: 'male' | 'female';
  phone: string;
  email: string;
  role: 'admin' | 'student' | 'teacher';
  department: {
    name: string;
  };
}

export interface ReservationState {
  floorNumber: number;
  roomNumber: string;
  roomId: string;
}

export interface DateChangeContext {
  dayjsValue: [Dayjs, Dayjs];
  value: string[];
} 